package com.gpms.service.Topics;

public class TopicsListFactory {
	public static IShowTopicsListService createTopicsList(String type)
	{
		IShowTopicsListService topics=null;
		if("InstituteTopicsList".equals(type))
		{
			topics=new InstituteTopicsList();
		}else if("TeacherTopicsList".equals(type))
		{
			topics=new TeacherTopicsList();
		}else if("AutidingTeacherTopicsList".equals(type))
		{
			topics = new AutidingTeacherTopicsList();
		}else if("ProfessionalTopicsList".equals(type))
		{
			topics = new ProfessionalTopicsList();
		}
		return topics;
	}
}
